net/http.http2responseWriterState.snapHeader (field)
13 uses
net/http (current package)
h2_bundle.go#L6707: snapHeader Header // snapshot of handlerHeader at WriteHeader time
h2_bundle.go#L6778: if clen = rws.snapHeader.Get("Content-Length"); clen != "" {
h2_bundle.go#L6779: rws.snapHeader.Del("Content-Length")
h2_bundle.go#L6786: _, hasContentLength := rws.snapHeader["Content-Length"]
h2_bundle.go#L6790: _, hasContentType := rws.snapHeader["Content-Type"]
h2_bundle.go#L6793: ce := rws.snapHeader.Get("Content-Encoding")
h2_bundle.go#L6799: if _, ok := rws.snapHeader["Date"]; !ok {
h2_bundle.go#L6804: for _, v := range rws.snapHeader["Trailer"] {
h2_bundle.go#L6813: if _, ok := rws.snapHeader["Connection"]; ok {
h2_bundle.go#L6814: v := rws.snapHeader.Get("Connection")
h2_bundle.go#L6815: delete(rws.snapHeader, "Connection")
h2_bundle.go#L6825: h: rws.snapHeader,
h2_bundle.go#L7096: rws.snapHeader = http2cloneHeader(rws.handlerHeader)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)